package entity;


import java.io.Serializable;

public class ServerMessage extends Message<String, String, Integer> implements Serializable{

    private Event event;
    private RoomInfo info;

    public ServerMessage(){}

    public ServerMessage(String source, int roomNum, String body, String time, Event event, RoomInfo info){
        super(source, roomNum, body, time);
        this.event = event;
        this.info = info;
    }

    public Event getEvent() {
        return event;
    }

    public void setEvent(Event event) {
        this.event = event;
    }

    public RoomInfo getInfo() {
        return info;
    }

    public void setInfo(RoomInfo info) {
        this.info = info;
    }



}
